# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-fmsx
pkgver=0_git20200107
pkgrel=0
_commit="3de916bbf15062de1ab322432d38a1fee29d5e68"
pkgdesc="port of fMSX to the libretro API"
url="https://github.com/libretro/fmsx-libretro"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/fmsx-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/fmsx-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 fmsx_libretro.so "$pkgdir"/usr/lib/libretro/fmsx_libretro.so
}

sha512sums="f084c097eb3ab65b56a9877debe46d6ebc5292c9ce0071b7698d5dd00cbe777f074de06f7550c082645f87c80d5b26cc92445224313ae3969f43e793cf3a099c  libretro-fmsx-3de916bbf15062de1ab322432d38a1fee29d5e68.tar.gz"
